package com.star.service.impl;

import com.star.mapper.InformationMapper;
import com.star.pojo.InformationUser;
import com.star.service.InformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@SuppressWarnings("all")
@Service
public class InformationServiceImpl implements InformationService {
    @Autowired
    private InformationMapper informationMapper;
    public boolean insert(InformationUser informationUser) {
        return informationMapper.insert(informationUser)==1?true:false;
    }
}
